package com.beaven.imclient.presenter.user;

import com.beaven.imclient.base.BaseContract;
import com.beaven.imclient.data.CategorySelect;
import java.util.List;

/**
 * author: Beaven
 * time: 2017/5/22 16:35
 */

public interface CategoryContract {

  interface Presenter extends BaseContract.Presenter {

    void addCategory(String name);
  }

  interface View extends BaseContract.View<Presenter> {

    void showList(List<CategorySelect> categoryList);

    void showLoading();

    void hideLoading();

    void showText(int stringId);
  }
}
